package com.itheima.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

//定义语音实体类
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "peachblossom")
public class Peachblossom implements java.io.Serializable{

    private static final long serialVersionUID = -3136732836884933876L;

    private ObjectId id; //主键id
    private Long vid; //自动增长
    private Long created; //创建时间


    private Long userId;
    private String text; //文字
    private String picUrl; //语音封面文件，URL
    private String videoUrl; //语音文件，URL
}
